package com.springboot.cloud.sysadmin.organization.entity.form;

import com.springboot.cloud.common.web.entity.form.BaseForm;
import com.springboot.cloud.sysadmin.organization.entity.po.Role;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.HashSet;
import java.util.Set;

/**
 * Created by ZengJian on 2021/2/3 0003 上午 9:22
 */
@ApiModel
@Data
public class RoleResourceForm extends BaseForm<Role> {

    @ApiModelProperty(value = "角色id")
    private String id;

    @ApiModelProperty(value = "角色拥有的资源权限的资源列表")
    private Set<String> resources = new HashSet<String>();

}

